/* @font-face {
  font-family: "sarasa";
  src: url("./fonts/sarasa-gothic-sc-regular.ttf");
} */

html,
body,
#app,
.pages,
.page-frame,
.page-content,
.page {
  width: 100%;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.pages {
  background-color: #f8f8f8;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
  opacity: 1;
}

.fade-enter {
  opacity: 0;
}

.fade-leave-to {
  opacity: 0;
}

/* 进入页面时的动画 pageEnter */

/* 进入动画 - 1 */
.pageEnter-slide-fade-enter-active,
.pageEnter-slide-fade-leave-active {
  transition: all 0.3s ease;
}

.pageEnter-slide-fade-enter {
  transform: translateX(60px);
  opacity: 0;
  -webkit-transform: translateX(60px);
  -moz-transform: translateX(60px);
  -ms-transform: translateX(60px);
  -o-transform: translateX(60px);
}

.pageEnter-slide-fade-leave-to {
  transform: translateX(-60px);
  opacity: 0;
  -webkit-transform: translateX(-60px);
  -moz-transform: translateX(-60px);
  -ms-transform: translateX(-60px);
  -o-transform: translateX(-60px);
}

/* 返回页面时的动画 pageBack */

/* 返回动画 - 1 */
.pageBack-slide-fade-enter-active,
.pageBack-slide-fade-leave-active {
  transition: all 0.3s ease;
}

.pageBack-slide-fade-enter {
  transform: translateX(-60px);
  opacity: 0;
  -webkit-transform: translateX(-60px);
  -moz-transform: translateX(-60px);
  -ms-transform: translateX(-60px);
  -o-transform: translateX(-60px);
}

.pageBack-slide-fade-leave-to {
  transform: translateX(60px);
  opacity: 0;
  -webkit-transform: translateX(60px);
  -moz-transform: translateX(60px);
  -ms-transform: translateX(60px);
  -o-transform: translateX(60px);
}


/* 导航栏动画 */
.navbar-slide-fade-enter-active,
.navbar-slide-fade-leave-active {
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}

.navbar-slide-fade-enter,
.navbar-slide-fade-leave-to {
  opacity: 0;
  height: 0 !important;
  transform: translateY(-5px);
}